-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding tests for CONFIG argument #230
Conversation
Signed-off-by: Harsh Mahesheka <[email protected]>
Signed-off-by: Harsh Mahesheka <[email protected]>
Signed-off-by: Harsh Mahesheka <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like the new tests print console messages so you can see interactively if it is working, but not otherwise. It would be nice if the test would fail if the wrong cmake file was found, perhaps by setting variables and then expecting them to have a certain value and reporting a cmake error if the expected value was not found, but that can be future work.
Thanks for your contribution!
Yeah, we can do it this way also. Should I make the changes and open a pr? |
A new PR would be great. I can review it once you have a PR opened. Thanks for iterating! |
This pull request has been mentioned on Gazebo Community. There might be relevant details there: https://community.gazebosim.org/t/new-releases-2022-04-27-fortress-citadel/1389/1 |
Signed-off-by: Harsh Mahesheka <[email protected]> Co-authored-by: Ashton Larkin <[email protected]>
🎉 New feature
Requires #211
Summary
Adds tests for CONFIG argument in ign_find_packages().The idea being
ign_find_package(ignition-find_config)
will search forFindignition-find_config.cmake
beforeignition-find_configConfig.cmake
in MODULE mode whereas when we pass CONFIG option it will skip to CONFIG mode and directly search forignition-find_configConfig.cmake
.Test it
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.